#!/bin/bash

svn up /home/lirui/projects/bigdata_imei
ps aux|grep uwsgi| grep -v grep | awk -F ' ' '{print $2}'|xargs kill -9
ps aux|grep nginx| grep -v grep | awk -F ' ' '{print $2}'|xargs kill -9
nohup uwsgi --ini /home/lirui/projects/bigdata_imei/server_conf/uwsgi.ini &
nginx -c /usr/local/nginx/conf/nginx.conf
